/**
	* 公共接口
*/
import { request, onUploadHttp } from "@/request";

// 发送验证码
export const onSendCode = data => {
	return request({url: '/api/user/sendVerificationCode', data})
}

// 上传图片
export const onUpload = data => {
	return onUploadHttp('/api/user/uploadimgfile', data)
}